#ifndef __ZSTRING_H__
#define __ZSTRING_H__
	
// split a string by spl.
// it will return a strarr if correct
// 	or return NULL if incorrect
char ** zstrtok(const char * const src
	, const char spl
	, int * arrlen
	, int rmemp);

// remove vector and set arr NULL
int zstrrmv(char *** parr, const int arrlen);

// trim
int zstrtrim(char * const dest, const char * const src);

// trim but middle
int zstrtrim2(char * const dest, const char * const src);

#endif
